#ifndef CELL_FUNC_H
#define CELL_FUNC_H
#include "net.h"
#include "cell.h"
struct Cell newNullCell();
void mutate(struct World *w, struct Cell *cell);
int newCell(struct World *w, int x, int y, struct Cell *cell, struct Cell *cellDest);
void killCell(struct Cell *cell, bool willBeFood);
void getRotation(int rotation, int *x, int *y);
int cordsToIndex(struct World *w, int x, int y);
void indexToCords(struct World *w, int index, int *x, int *y);
void moveCell(struct World *w, int index, int x, int y);
void processGenome(struct World *w, struct Net *n, int i);
#endif
